// 该文件就是和学生模块的请求相关的 api
import request from "./request";
import { IStu } from "../types";

export function getStuListApi(): IStu[] {
  const resp = request("/api/stu", {
    method: "GET",
  }) as unknown;
  return resp as IStu[];
}
